package com.wms.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@ApiModel("到货单")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Arrival {
    /** id */
    @ApiModelProperty(value="id",notes = "",hidden = true)
    private Integer id ;
    /** 创建人 */
    @ApiModelProperty(value="创建人",notes = "")
    private Integer createby ;

    /** 到货登记号 */
    @ApiModelProperty(value="到货登记号",notes = "")
    private String arrivalCode ;
    /** 供应商ID */
    @ApiModelProperty(value="供应商ID",notes = "")
    private int supplierId ;
    /** 供应商名称 */
    @ApiModelProperty(value="供应商名称",notes = "")
    private String supplierName ;
    /** 卸货库区 */
    @ApiModelProperty(value="卸货库区",notes = "")
    private int storeAreaId ;
    /** 采购人 */
    @ApiModelProperty(value="采购人",notes = "")
    private String purchaseUser ;
    /** 采购日期 */
    @ApiModelProperty(value="采购日期",notes = "")
    private String purchaseDate ;
    /** 备注 */
    @ApiModelProperty(value="备注",notes = "")
    private String note ;
    /** 入库状态;1 未入库   2  部分入库  3  已入库 */

    /** 到货方式;1、到货登记 2 快捷到货 */
    @ApiModelProperty(value="到货方式",notes = "1、到货登记 2 快捷到货")
    private int type ;
    @ApiModelProperty(value="添加类型",notes = "1、标准流程 2 快捷流程")
    private int addType;
    @ApiModelProperty(value = "产品类型",notes = "1:原料  2:半成品  3:成品")
    private Integer productType;
    /** 采购单Id */
    @ApiModelProperty(value="采购单Id",notes = "")
    private int purchaseId ;
    @ApiModelProperty(value = "采购单号",notes = "")
    private String purchaseCode;
    /** 到货日期 */
    @ApiModelProperty(value="到货日期",notes = "")
    private String arrivalDate ;
    @ApiModelProperty(value="到货单明细")
    List<ArrivalDetail> arrivalDetailList;

    @ApiModelProperty(value="原料到货明细",notes = "")
    List<ArrivalMaterialDetail> arrivalMaterialDetailList;
}
